You are here: Symbol Reference > Dew Namespace > Dew.Stats Namespace > Dew.Stats.Units Namespace > Classes > Statistics Class > Statistics Methods > Histogram Method > Statistics.Histogram Method ([In] TVec, [In] int, [In] TVecInt, [In] TVec, bool)
Dew Stats for .NET
ContentsIndexHome
PreviousUpNext
Statistics.Histogram Method ([In] TVec, [In] int, [In] TVecInt, [In] TVec, bool)

Divide the Data vector elements into NumBins equal intervals.

Syntax
C#
Visual Basic
public static void Histogram([In] TVec Data, [In] int NumBins, [In] TVecInt Results, [In] TVec Bins, bool CenterBins);

The number of elements falling in each interval is counted and the result for each interval (frequency distribution) is written to the Results vector. if CenterBins is true then Bins will store bins center points. If CenterBins is false, Bins will store bins edges.The Length and Complex properties of the Results and Bins vectors are adjusted automatically.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!